import request from '@/utils/request'

// 查询articleCategory列表
export function listArticle_category(query) {
  return request({
    url: '/system/article_category/list',
    method: 'get',
    params: query
  })
}

// 查询articleCategory详细
export function getArticle_category(id) {
  return request({
    url: '/system/article_category/' + id,
    method: 'get'
  })
}

// 新增articleCategory
export function addArticle_category(data) {
  return request({
    url: '/system/article_category',
    method: 'post',
    data: data
  })
}

// 修改articleCategory
export function updateArticle_category(data) {
  return request({
    url: '/system/article_category',
    method: 'put',
    data: data
  })
}

// 删除articleCategory
export function delArticle_category(id) {
  return request({
    url: '/system/article_category/' + id,
    method: 'delete'
  })
}
